package Chapter8;
import java.io.File;
public class Example26 {
	public static void main(String[] args)throws Exception{
		File file=new File("e:\\eclipse\\ss\\java2");
		if(file.isDirectory()) {
			String[] names=file.list();
			for(String name:names) {
				System.out.println(name);
			}
		}
	}

}
